<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript" src="${r"${appPath}"}view/js/common/formUtils.js"></script>
<script type="text/javascript" src="${r"${appPath}"}view/js/${bean.lowerClassName}/form.js"></script>
<div id="${r"${moduleName}"}inputDiv" class="easyui-panel" title="">
    <!-- formData component -->
    <form id="${r"${moduleName}"}formData" method="post">
        <input type="hidden" name="id" value="${r"${bean.id}"}">
        <table>
        <#list bean['fields'] as field>
        ${field.inputUI}
        </#list>
        </table>
        <!-- button component -->
        <div id="dlg-buttons">
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok"
               onclick="submitForm()">提交</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="resetForm()">重置</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel"
               onclick="back()">返回</a>
        </div>
    </form>
</div>
